package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 动力电机型号对象 t_drive_motor_model
 * 
 * @author wuliuzhen
 * @date 2025-10-01
 */
public class TDriveMotorModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 驱动电机类型 */
    @Excel(name = "驱动电机类型")
    private String driveMotorType;

    /** 驱动电机型号 */
    @Excel(name = "驱动电机型号")
    private String driveMotorModel;

    /** 驱动电机额定功率 kW */
    @Excel(name = "驱动电机额定功率 kW")
    private BigDecimal driveMotorRatedPower;

    /** 驱动电机峰值功率 kW */
    @Excel(name = "驱动电机峰值功率 kW")
    private BigDecimal driveMotorPeakPower;

    /** 驱动电机转速 r/min */
    @Excel(name = "驱动电机转速 r/min")
    private Long driveMotorRotationSpeed;

    /** 驱动电机转矩 N.m */
    @Excel(name = "驱动电机转矩 N.m")
    private BigDecimal driveMotorTorque;

    /** Ekg单位载质量能量消耗量 Wh/km.kg */
    @Excel(name = "Ekg单位载质量能量消耗量 Wh/km.kg")
    private BigDecimal ekgEnergyConsumption;

    /** 电池系统总质量占整车整备质量比例 % */
    @Excel(name = "电池系统总质量占整车整备质量比例 %")
    private BigDecimal batterySystemMassRatio;

    /** 驱动电机数量 */
    @Excel(name = "驱动电机数量")
    private Long driveMotorQuantity;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 租户信息 */
    @Excel(name = "租户信息")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDriveMotorType(String driveMotorType) 
    {
        this.driveMotorType = driveMotorType;
    }

    public String getDriveMotorType() 
    {
        return driveMotorType;
    }

    public void setDriveMotorModel(String driveMotorModel) 
    {
        this.driveMotorModel = driveMotorModel;
    }

    public String getDriveMotorModel() 
    {
        return driveMotorModel;
    }

    public void setDriveMotorRatedPower(BigDecimal driveMotorRatedPower) 
    {
        this.driveMotorRatedPower = driveMotorRatedPower;
    }

    public BigDecimal getDriveMotorRatedPower() 
    {
        return driveMotorRatedPower;
    }

    public void setDriveMotorPeakPower(BigDecimal driveMotorPeakPower) 
    {
        this.driveMotorPeakPower = driveMotorPeakPower;
    }

    public BigDecimal getDriveMotorPeakPower() 
    {
        return driveMotorPeakPower;
    }

    public void setDriveMotorRotationSpeed(Long driveMotorRotationSpeed) 
    {
        this.driveMotorRotationSpeed = driveMotorRotationSpeed;
    }

    public Long getDriveMotorRotationSpeed() 
    {
        return driveMotorRotationSpeed;
    }

    public void setDriveMotorTorque(BigDecimal driveMotorTorque) 
    {
        this.driveMotorTorque = driveMotorTorque;
    }

    public BigDecimal getDriveMotorTorque() 
    {
        return driveMotorTorque;
    }

    public void setEkgEnergyConsumption(BigDecimal ekgEnergyConsumption) 
    {
        this.ekgEnergyConsumption = ekgEnergyConsumption;
    }

    public BigDecimal getEkgEnergyConsumption() 
    {
        return ekgEnergyConsumption;
    }

    public void setBatterySystemMassRatio(BigDecimal batterySystemMassRatio) 
    {
        this.batterySystemMassRatio = batterySystemMassRatio;
    }

    public BigDecimal getBatterySystemMassRatio() 
    {
        return batterySystemMassRatio;
    }

    public void setDriveMotorQuantity(Long driveMotorQuantity) 
    {
        this.driveMotorQuantity = driveMotorQuantity;
    }

    public Long getDriveMotorQuantity() 
    {
        return driveMotorQuantity;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driveMotorType", getDriveMotorType())
            .append("driveMotorModel", getDriveMotorModel())
            .append("driveMotorRatedPower", getDriveMotorRatedPower())
            .append("driveMotorPeakPower", getDriveMotorPeakPower())
            .append("driveMotorRotationSpeed", getDriveMotorRotationSpeed())
            .append("driveMotorTorque", getDriveMotorTorque())
            .append("ekgEnergyConsumption", getEkgEnergyConsumption())
            .append("batterySystemMassRatio", getBatterySystemMassRatio())
            .append("driveMotorQuantity", getDriveMotorQuantity())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("deptId", getDeptId())
            .toString();
    }
}
